Component({
  /**
   * 组件的属性列表
   */
  properties: {
    fontsize: {
      type: [String],
      observer: function (newval, oldval) {
        let height = newval + 'rpx'
        this.setData({
          height
        })
      }
    },
    color: {
      type: [String],
      observer: function (newval, oldval) {
        this.setData({
          colore: newval
        })
      }
    },
    name: {
      type: [String],
      observer: function (newval, oldval) {
        this.setData({
          named: newval
        })
      }
    }
  },
  attached() {

  },
  /**
   * 组件的初始数据
   */
  data: {
    height: '32rpx',
    // width:'32rpx',
    colore: "#666",
    named: ''
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})